package com.rzico.report.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Id;
import java.math.BigDecimal;

/**
 * Created by icssh on 2020/11/15.
 */
@Data
public class InSaleDetailVo {

    @Id
    protected Long productId;

    protected String name;

    protected String sn;

    protected String unit;

    protected String spec1;

    protected String spec2;

    @ApiModelProperty("期初数量")
    protected BigDecimal qc;

    @ApiModelProperty("进货|数量")
    protected BigDecimal jh;

    @ApiModelProperty("进货|金额")
    protected BigDecimal jhPrice;

    @ApiModelProperty("销售|金额")
    protected BigDecimal xs;

    @ApiModelProperty("销售|金额")
    protected BigDecimal xsPrice;

    @ApiModelProperty("销售|成本")
    protected BigDecimal xsCost;

    @ApiModelProperty("销售|毛利")
    protected BigDecimal xsMl;

    @ApiModelProperty("调拨|数量")
    protected BigDecimal db;

    @ApiModelProperty("调拨|金额")
    protected BigDecimal dbPrice;

    @ApiModelProperty("损益|数量")
    protected BigDecimal pdSy;

    @ApiModelProperty("损益|金额")
    protected BigDecimal pdPrice;

    @ApiModelProperty("期末数量")
    protected BigDecimal qm;

    @ApiModelProperty("收货人")
    protected String consignee;

    @ApiModelProperty("联系电话")
    protected String phone;

    @ApiModelProperty("单据类型(1.采购入库,2.采购退货,3.调拨入库,4.销售出库,5.销售退货,6.调拨出库,7.盘点损益,8.其他出库)")
    protected String warehouseType;

    @ApiModelProperty("单据状态(0.未确认,1.已确认,2.已完成,3.已取消)")
    protected String status;

    @ApiModelProperty("所属企业")
    protected String enterpriseName;

    @ApiModelProperty("所在仓库")
    protected String shopName;

    @ApiModelProperty(value = "来源订单号" )
    protected String orderSn;

    //订单id
    protected Long orderId;

    //收货地址
    protected String address;

    //创建时间
    protected String createDate;

}
